<?php /* Smarty version Smarty-3.1.11, created on 2013-04-16 00:03:56
         compiled from "C:\xampp\htdocs\novosite\conteudosModel\categoriaFotos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19380516cbf9c8c14c0-37365484%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c05c212119001d41241a79c3dd7ea273e3ff1f92' => 
    array (
      0 => 'C:\\xampp\\htdocs\\novosite\\conteudosModel\\categoriaFotos.tpl',
      1 => 1346556347,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19380516cbf9c8c14c0-37365484',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'CATEGORIAS' => 0,
    'PASTA_IMAGENS_URL' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_516cbf9c8f4ca1_38787994',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_516cbf9c8f4ca1_38787994')) {function content_516cbf9c8f4ca1_38787994($_smarty_tpl) {?><div class="categoriaFotos">    
    <h2 class="fonteSize24">Albuns de Fotos</h2>
    <div class="linhaCategoriaFotos"> 
        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["i"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['name'] = "i";
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['CATEGORIAS']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total']);
?>
            <a href="?album=<?php echo $_smarty_tpl->tpl_vars['CATEGORIAS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['id_categoria_fotos'];?>
">
                <div class="divFotoCat">
                    <p><?php echo $_smarty_tpl->tpl_vars['CATEGORIAS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['descricao'];?>
</p>
                    <img src="<?php echo $_smarty_tpl->tpl_vars['PASTA_IMAGENS_URL']->value;?>
<?php echo $_smarty_tpl->tpl_vars['CATEGORIAS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['nome_foto'];?>
"  height="130" width="170" alt="foto 1" />
                </div>
            </a>
        <?php endfor; endif; ?>
    </div>
</div><?php }} ?>